package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class Education {
    private Long id;


    //数据传入使用日期类型
    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    //转换成json格式的日期类型
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    //数据传入使用日期类型
    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    //转换成json格式的日期类型
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    private String schoolName;

    private String specialty;

    private String educationExperience;
}